﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebUI._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>OpenLabMS:开放式实验室管理系统</title>
    <link href="css/default.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
<ext:PageManager ID="PageManager1" AutoSizePanelID="RegionPanel1" runat="server">
    </ext:PageManager>
    <ext:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server">
    <Regions>
    <ext:Region ID="Region1" Margins="0 0 0 0" Height="96px" ShowBorder="false" ShowHeader="false"
                Position="Top" Layout="Fit" runat="server">
                <Toolbars>
                    <ext:Toolbar ID="Toolbar1" Position="Bottom" runat="server">
                        <Items>
                            <ext:Button ID="btnExpandAll" IconUrl="~/images/expand-all.gif" Text="展开全部" EnablePostBack="false"
                                runat="server">
                            </ext:Button>
                            <ext:ToolbarSeparator runat="server" ID="ToolbarSeparator2"></ext:ToolbarSeparator>
                            <ext:Button ID="btnCollapseAll" IconUrl="~/images/collapse-all.gif" Text="折叠全部" EnablePostBack="false"
                                runat="server">
                            </ext:Button>
                            <ext:ToolbarFill ID="ToolbarFill1" runat="server"></ext:ToolbarFill>
                            <ext:ToolbarText ID="tbtWelcome"  runat="server"></ext:ToolbarText>
                            <ext:ToolbarSeparator ID="ToolbarSeparator12" runat="server"></ext:ToolbarSeparator>
                            <ext:Button ID="btnExit" runat="server" Text="退出系统" Icon="UserRed" ConfirmText="确定退出系统？" OnClick="btnLogout_Click"></ext:Button>
                        </Items>
                    </ext:Toolbar>
                </Toolbars>
                <Items>
                    <ext:ContentPanel ShowBorder="false" ShowHeader="false" BodyStyle="background-color:#1C3E7E;"
                        ID="ContentPanel1" runat="server">
                        <div class="header">
                            <h1>Open Lab Manage System</h1>
                            <div class="info">版本号：1.0.0</div>
                        </div>
                    </ext:ContentPanel>
                </Items>
            </ext:Region>
            <ext:Region ID="Region2" Split="true" EnableSplitTip="true" CollapseMode="Mini" Width="184px"
                Margins="0 0 0 0" ShowHeader="true" Title="菜单" Icon="Outline" EnableCollapse="true"
                Layout="Fit" Position="Left" runat="server">
                <Items>
                    <ext:Tree runat="server" EnableArrows="true" ShowBorder="false" ShowHeader="false"
                        EnableIcons="false" AutoScroll="true" ID="treeMenu" >
                    </ext:Tree>
                </Items>
            </ext:Region>
            <ext:Region ID="mainRegion" ShowHeader="false" Layout="Fit" Margins="0 0 0 0" Position="Center"
                runat="server">
                <Items>
                    <ext:TabStrip ID="mainTabStrip" EnableTabCloseMenu="true" ShowBorder="false" runat="server">
                        <Tabs>
                            <ext:Tab ID="Tab1" Title="首页" Layout="Fit" Icon="House" runat="server">
                                <Items>
                                    <ext:ContentPanel ID="ContentPanel2" ShowBorder="false" BodyPadding="150px" ShowHeader="false" AutoScroll="true"
                                        CssClass="intro" runat="server" >
                                        <div class="Welcome"></div>
                                    </ext:ContentPanel>
                             </Items>
                            </ext:Tab>
                        </Tabs>
                    </ext:TabStrip>
                </Items>
            </ext:Region>
    </Regions>
    </ext:RegionPanel>
    <asp:XmlDataSource ID="XmlDataSource1" runat="server" ></asp:XmlDataSource>
    </form>
    <script type="text/javascript">

        var IDS = {
            treeMenu: '<%= treeMenu.ClientID %>',
            btnExpandAll: '<%= btnExpandAll.ClientID %>',
            btnCollapseAll: '<%= btnCollapseAll.ClientID %>',
            mainTabStrip: '<%= mainTabStrip.ClientID %>'
        };

    </script>
    <script src="./js/default.js" type="text/javascript"></script>

</body>
</html>
